<script>
import { setSystemHi, setSystemWi } from "@/store/user";
export default {
  onLaunch: function () {
    const app = uni.getSystemInfoSync();
    console.log("App Launch----------------------", app);
    setSystemHi(app.statusBarHeight);
    setSystemWi(app.screenWidth);
  },
  onShow: function () {
    console.log("App Show-----------------");
  },
  onHide: function () {},
};
</script>
<style lang="scss">
@import "@/static/font/iconfont.css";
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
@import "@/uni_modules/uview-ui/index.scss";

*,
view {
  box-sizing: border-box;
}
.uni-icon-error {
	
  margin-bottom: 10px !important;
}
.u-popup__content,
.u-modal {
  overflow: initial !important;
}
.uni-select__input-placeholder {
  color: $uni-text-color-disable !important;
  font-size: 15px !important;
  text-align: left;
}
.popup-box {
  width: 500rpx;
  padding: 20rpx;
  height: 100%;
  position: relative;

  .title {
    font-size: 36rpx;
    margin-bottom: 20rpx;
  }

  .select-box {
    display: flex;
    flex-wrap: wrap;

    .select-box-item {
      padding: 8rpx 20rpx;
      border: 1px solid #f9f9f9;
      background-color: #f9f9f9;
      margin-right: 20rpx;
      color: #333;
      cursor: pointer;
    }
  }
  .btn-v {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
  }
}
.all-width {
  .u-form-item__body__right__message {
    margin-left: 0 !important;
  }
}
.uni-select {
  font-size: 15px !important;
  height: 38px !important;
}
.no-data {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background-color: #fff;
  width: 100%;
}
.u-toast__content {
  display: flex;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 20px;

  .u-icon__icon {
    font-size: 35px !important;
    margin: 10px 0 20px;
  }
  .u-toast__content__text {
    font-size: 16px;
    word-wrap: break-word;
    word-break: break-all;
  }
}
image,
img {
  width: 80%;
  margin: 0 auto;
  height: auto;
}
.scroll-no-data {
  text-align: center;
}
.info-box {
  margin: 20rpx;
  background-color: #ffffff;
  padding: 20rpx 0 20rpx 0;
  border-radius: 5px;

  .input-box {
    padding: 0 40rpx;
    .u-form-item__body__left__content__label {
      color: #666;
      margin-right: 2px;
    }
  }
  .text-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40rpx;
    margin-bottom: 20rpx;
    min-height: 32px;

    .label {
      color: #666;
      margin-right: 20rpx;
    }

    .value {
      flex: 1;
      text-align: right;
      text-overflow: ellipsis;
    }
    .uni-select__input-text {
      text-align: left;
    }
    .u-form-item__body {
      padding: 0 !important;
    }

    .u-radio-group--row {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      width: 100%;
      flex-wrap: wrap;
    }

    .u-radio {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-right: 28px;
      margin-bottom: 10px;
      margin-right: 28px;
    }
  }

  .line {
    margin: 20rpx 40rpx;
    height: 1px;
    width: calc(100% - 80rpx);
    background-color: #e0e0e0;
  }

  .box-item {
    margin-bottom: 20rpx;
    padding: 0 40rpx;

    .label {
      color: #666;
      margin-bottom: 15px;
      display: inline-block;
    }

    .box-input {
      overflow: hidden;
      flex-wrap: wrap;
    }
  }
}

.info-box-bottom {
  background-color: #ffffff;
  padding: 40rpx;
}

.btn-v {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 147rpx;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;

  .but-box {
    width: 100%;
    margin: 0 20rpx;
    display: flex;
    justify-content: space-between;

    .btn {
      flex: 1;
      margin-right: 20rpx;

      &:last-child {
        margin-right: 0;
      }
    }
  }
}
</style>
